home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 173_01 / cpe.bat < prev    next >
DOS Batch File  |  1980-01-01  |  640b  |  24 lines

  1. echo off
  2. echo LATTICE: Large memory model
  3. if exist %1 goto syntax
  4. \lc\lc1 =30000 >%1.err -mp-n -i\lc\ -i\lc\p\ %1.c
  5. if errorlevel 1 goto err1
  6. echo LATTICE: Phase 1 processing complete for %1
  7. del %1.err
  8. \lc\lc2 -k2 %1
  9. goto quit
  10. :err1
  11. echo LATTICE: Errors detected in %1
  12. echo          Merging errors into %1.C source file
  13. errmerge %1
  14. del %1.err
  15. set EXIT=%1
  16. goto quit
  17. :syntax
  18. echo LATTICE: A file EXIST error for %1
  19. echo          Rerun without file extent.
  20. :quit
  21. rr
  22. set EXIT=%1
  23. goto quit
  24. :sy